﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AnesSystem.Controls.CommonTables.FJ.YXZYY
{
    /// <summary>
    /// SecondTongYiShuAndYaoPingHaoCai.xaml 的交互逻辑
    /// </summary>
    public partial class SecondShuXueCrtl : CustomCommonTableCtrl
    {
        private List<FrameworkElement> zqtyList;

        public SecondShuXueCrtl()
        {
            InitializeComponent();
            //zqtyList = new List<FrameworkElement>();
            //ZqtyList.Add(new MaZuiTongYiCtrl());
            //ZqtyList.Add(new MaZuiTongYi2Ctrl());
            //_mzzqListCtrl.ItemsSource = zqtyList;
        }

        public List<FrameworkElement> ZqtyList
        {
            get
            {
                return zqtyList;
            }

            set
            {
                zqtyList = value;
            }
        }

        //双面打印
        //public override void PrintVisual()
        //{
        //    object cont = tongyishuTabControl.SelectedContent;
        //    if (tongyishuTabControl.SelectedIndex == 0)
        //    {
        //        Print(ZqtyList,true );
        //    }
        //    else
        //    {
        //        Print(cont as CustomCommonTableCtrl);
        //    }
        //    //Print(list);
        //}
    }
}
